package com.stedu.mapper;

import com.stedu.bean.College;

import java.util.List;

public interface CollegeMapper {
    //增加
    int insert(College c);
    //根据id删除
    int delete(Integer zid);
    //根据id修改
    int update(College c);
    //查询所有
    List<College> selectAll();
    //根据id查询
    College selectByZid(Integer zid);
    //根据学院名称查询
    College selectByFaculty(String faculty);
    //根据专业查询
    College selectByProfessional(String professional);
}
